package com.szq.pattern.mediator;

import java.util.List;

/**
 * @description:
 * @author: szq
 * @date: 2021-09-14 09:29:57
 */
public interface SqlSession {

    <T> T selectOne(String statement);

    <T> T selectOne(String statement, Object parameter);

    <T> List<T> selectList(String statement);

    <T> List<T> selectList(String statement, Object parameter);

    void close();
}
